﻿using HuiLian.Cloud.ViewModel;
using HuiLian.Cloud.View;
using HuiLian.Cloud.ViewModel.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace HuiLian.Cloud.ViewModel
{
    public class AccountWindowViewModel : ViewModelBase
    {
        #region
        /// <summary>
        /// 会员优惠
        /// </summary>
        public ICommand OnDiscountClickCommand => new DelegateCommand((sender) =>
        {
            MemberDepositWindow memberDepositWindow = new MemberDepositWindow();
            memberDepositWindow.Show();
        });

        /// <summary>
        /// 付款码支付
        /// </summary>
        public ICommand OnPayCodeClickCommand => new DelegateCommand((sender) =>
        {
            PaycodeWindow paycodeWindow = new PaycodeWindow();
            paycodeWindow.Show();
        });

        /// <summary>
        /// 会员储值支付
        /// </summary>
        public ICommand OnStoredClickCommand => new DelegateCommand((sender) =>
        {
            MemberStoredWindow memberStoredWindow = new MemberStoredWindow();
            memberStoredWindow.Show();
        });
        #endregion
    }
}
